//
//  ShareHelp.h
//  Onskysell
//
//  Created by cg on 17/3/20.
//  Copyright © 2017年 cg. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, ShareFromType) {
    FromNormalShare,
    FromScreenshot
};

@interface ShareHelp : NSObject


/**
 单利

 @return ShareHelp
 */
+ (ShareHelp *)shared;


/**
 分享

 @param title title description
 @param content content description
 @param img img description
 @param urlStr urlStr description
 @param currentController currentController description
 */
-(void)shareWithTitle:(NSString *)title content:(NSString *)content image:(id)img url:(NSString *)urlStr currentController:(UIViewController *)currentController fromType:(ShareFromType)fromType;

@end
